package com.zjmzxfzhl.modules.iot.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zjmzxfzhl.common.core.base.BaseServiceImpl;
import com.zjmzxfzhl.modules.iot.entity.IotZjmzxfzhl;
import com.zjmzxfzhl.modules.iot.mapper.IotZjmzxfzhlMapper;
import com.zjmzxfzhl.modules.iot.service.IotZjmzxfzhlService;
import org.springframework.stereotype.Service;

/**
 * 开发示例Service
 *
 * @author 庄金明
 */
@Service
public class IotZjmzxfzhlServiceImpl extends BaseServiceImpl<IotZjmzxfzhlMapper, IotZjmzxfzhl> implements IotZjmzxfzhlService {
    @Override
    public IPage<IotZjmzxfzhl> list(IPage<IotZjmzxfzhl> page, IotZjmzxfzhl demoZjmzxfzhl) {
        return page.setRecords(baseMapper.list(page, demoZjmzxfzhl));
    }
}
